import abc


class BaseDataSource(object, metaclass=abc.ABCMeta):
    def __init__(self, uri: str):
        self.uri = uri

    @abc.abstractmethod
    def read(self, **kwargs): ...

    @abc.abstractmethod
    def write(self, data, **kwargs): ...
